<div id="template_list">
  <h2>Template list</h2>
  <div><a class="addnew" href="<?php echo base_url();?>index.php/administrator/template/add">+ Add new Template</a></div>
  <table class="list" cellpadding="0" cellspacing="0">
    <thead>
      <tr>
          <th width="5%">project_id </th>
          <th width="10%">TB_bckImg</th>
          <th width="8%">TB_bckCol </th>
          <th>TB_logoImg</th>
          <th>TB_logotext</th>
          <th>TB_logo_align</th>
          <th>TB_shadow</th>
          <th width="20%">Actions</th>
      </tr>
    </thead>
    <tbody>   
	  <?php foreach($data as $k=>$v) {?>     
      <tr>
          <td><?php echo $v["project_id"];?>  </td>
          <td><?php echo $v["TB_bckImg"];?>   </td>
          <td><?php echo $v["TB_bckCol"];?>   </td>
          <td><?php echo $v["TB_logoImg"]?>   </td>
          <td><?php echo $v["TB_logotext"]?>  </td>
          <td><?php echo $v["TB_logo_align"]?></td>
          <td><?php echo $v["TB_shadow"]?>    </td>
          <td>
              <a href="<?php echo base_url();?>index.php/administrator/template/edit/<?php echo $v["project_id"];?>">Edit</a>
              <a rel="<?php echo base_url();?>index.php/administrator/template/deleteTemplateAction/<?php echo  $v["project_id"];?>" href="#" class="confirmDelete">Delete</a>
          </td>
      </tr>
      <?php }?>
    </tbody>
  </table>
</div>